﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Data.Linq.Mapping;

namespace GcTicket.Model
{
    [
   DebuggerStepThrough,
   Serializable,
   Table(Name = "t_city")
   ]
    public class City : EntityBase
    {
        [Column(Name = "id", IsPrimaryKey = true, IsDbGenerated = true)]
        public override int Id
        {
            get;
            set;
        }

        [Column(Name = "city_code")]
        public string CityCode { get; set; }

        [Column(Name = "city_name")]
        public string CityName { get; set; }

        [Column(Name = "city_pinyin")]
        public string PinYin { get; set; }

        [Column(Name = "city_jianpin")]
        public string JianPin { get; set; }

        [Column(Name = "is_international")]
        public bool IsInternational { get; set; }
    }
}
